package com.morven.workpiece.craft.mapper;

import java.util.List;
import com.morven.workpiece.craft.domain.CraftProceWageCoeffic;

/**
 * 工序工价系数Mapper接口
 * 
 * @author Morven
 * @date 2021-12-20
 */
public interface CraftProceWageCoefficMapper 
{
    /**
     * 查询工序工价系数
     * 
     * @param id 工序工价系数主键
     * @return 工序工价系数
     */
    public CraftProceWageCoeffic selectCraftProceWageCoefficById(Long id);

    /**
     * 查询工序工价系数列表
     * 
     * @param craftProceWageCoeffic 工序工价系数
     * @return 工序工价系数集合
     */
    public List<CraftProceWageCoeffic> selectCraftProceWageCoefficList(CraftProceWageCoeffic craftProceWageCoeffic);

    /**
     * 新增工序工价系数
     * 
     * @param craftProceWageCoeffic 工序工价系数
     * @return 结果
     */
    public int insertCraftProceWageCoeffic(CraftProceWageCoeffic craftProceWageCoeffic);

    /**
     * 修改工序工价系数
     * 
     * @param craftProceWageCoeffic 工序工价系数
     * @return 结果
     */
    public int updateCraftProceWageCoeffic(CraftProceWageCoeffic craftProceWageCoeffic);

    /**
     * 删除工序工价系数
     * 
     * @param id 工序工价系数主键
     * @return 结果
     */
    public int deleteCraftProceWageCoefficById(Long id);

    /**
     * 批量删除工序工价系数
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCraftProceWageCoefficByIds(Long[] ids);
}
